﻿
@{
    ViewData["Title"] = "FinishedProductShow";
    Layout = "~/Views/Home/Main.cshtml";
}

<script src="https://cdnjs.cloudflare.com/ajax/libs/xlsx/0.17.2/xlsx.full.min.js"></script>
<h1>仓库管理/成品管理/成品列表</h1>

<form class="layui-form layui-row layui-col-space16" style="width:4000px">
    <div class="layui-inline">
        <label class="layui-form-label">仓库编号</label>
        <div class="layui-input-block">
            <input lay-affix="clear" type="text" id="WarehouseNo" placeholder="请输入" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-inline">
        <label class="layui-form-label">位置编码</label>
        <div class="layui-input-block">
            <input lay-affix="clear" type="text" id="LocationCoding" name="LocationCoding" placeholder="请输入" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-inline">
        <label class="layui-form-label">状态</label>
        <div class="layui-input-block">
            <select id="WarehouseState" name="WarehouseState">
                <option value="" selected>请选择</option>
                <option value=true>启用</option>
                <option value=false>禁用</option>
            </select>
        </div>
    </div>
    <div style="margin-left:1%">
        <div class="layui-inline">
            <input type="button" value="添加" class="layui-btn layui-btn-sm" onclick="location.href='/Warehouse/FinishedProductAdd'" />
            <button type="button" class="layui-btn layui-btn-sm" id="ExportExcel">导出</button>
            <button type="button" class="layui-btn layui-btn-sm" onclick="location.href='/Warehouse/FinishedProductShow'">重置</button>
            <button type="button" class="layui-btn layui-btn-sm" onclick="Show()">查询</button>
        </div>
    </div>
</form>

<table class="layui-table" id="finishedProductTable" style="width:500px"></table>
<script src="~/js/warehouse/finishedproduct/finishedproductshow.js"></script>